﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using VitCode.Web.UI.WebControls;

namespace AMSInventoryWeb
{
    public class PagePermissionHelper
    {
        public static void CheckIsLoginToDefault(Page page)
        {
            if (page.Request.Cookies["Code"] == null)
                page.Response.Redirect("../Default.aspx");
            
        }
    }
}
